Skip to content

build: stop recording npm registry URLs in lockfiles - #1395

Open
Jamie Magee (JamieMagee) wants to merge 1 commit into
microsoftgraph:mainfrom
JamieMagee:fix/omit-lockfile-registry-resolved
Open

build: stop recording npm registry URLs in lockfiles#1395
Jamie Magee (JamieMagee) wants to merge 1 commit into
microsoftgraph:mainfrom
JamieMagee:fix/omit-lockfile-registry-resolved

Conversation

@JamieMagee

Copy link
Copy Markdown

Summary

  • Add omit-lockfile-registry-resolved=true in app-auth/graphapponlytutorial and user-auth/graphtutorial.
  • Remove registry resolved fields from both lockfiles.
  • Keep lockfile version 3 and all other dependency metadata unchanged.

Validation

  • npm config get omit-lockfile-registry-resolved returned true in both project roots.
  • A second remediation pass made no lockfile changes.
  • Both lockfiles no longer contain Azure Artifacts feed URLs.
  • npm ci completed in both project roots with Node.js 24.19.0 and npm 11.19.0.
  • npm run build and npm run lint passed in both tutorials after copying appSettings.example.ts to appSettings.ts, matching CI.

Add npm's omit-lockfile-registry-resolved setting to both tutorial projects and remove registry URLs without changing dependency metadata.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant